package com.guigu.youxuan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.guigu.youxuan.pojo.Outbound;
import com.guigu.youxuan.pojo.OutboundDetail;
import com.guigu.youxuan.pojo.dto.OutboundDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liweixin
 * @since 2024-05-15
 */
public interface IOutboundService extends IService<Outbound> {
    /**
     * 出库列表查询所有出库信息
     * @param currentPage
     * @param pageSize
     * @return
     */
    PageInfo<Outbound> OutStorageListPage(int currentPage, int pageSize);

    /**
     * 出库审核查询状态为S001-1待审核的信息
     * @param currentPage
     * @param pageSize
     * @return
     */
    PageInfo<Outbound> OutStorageFuhePage(int currentPage, int pageSize);
    /**
     * 出库审核通过
     * @param outboundDto
     */
    void YesFuheReviewList(OutboundDto outboundDto);

    String getMaxDesignId();


    void createOutbound(Outbound outbound, List<OutboundDetail> outboundDetailList);
}
